On the Power of Local Orientations
نویسنده
چکیده
We consider a network represented by a simple connected undirected graph with N vertices. The nodes of the graph do not have any special unique identifiers, the only requirement is that each incident edge of a vertex v of degree dv has assigned a locally-unique label (portname) between 1 and dv, inclusive. This is called a local orientation. Our main goal is to have an agent visit all vertices of the graph, with the focus on the simplicity of the agent in terms of memory usage. We show that after a suitable preprocessing phase in which we alter the local orientations, the graph can be traversed using the simplest possible agent – an right-hand-rule using agent (RH-agent). Formally, this is an extremely simple finite automaton that always obeys the following rule: “Start by taking the edge with the label 1. Then, whenever you enter a node, continue by taking the successor edge (in local orientation) to the edge you arrived through.”. For the above mentioned pre-processing phase we design an algorithm for an agent that performs the precomputation. The agent will be able to alter the network by modifying the local orientations using a simple operation of exchanging two local labels in one step. The goal of this precomputation is to change the local orientations in such a way that the RH-agent’s algorithm will cause the RH-agent to visit all the nodes. We show a polynomialtime algorithm for this precomputation that needs only one pebble and O(logN) memory in the agent. Furthermore, we also show a modification of this algorithm that needs one pebble and only constant memory for the precomputing agent. In the second case, the termination detection is not solved yet, so one extra bit of information in the initial vertex is needed for terminating the precomputation. As an example of the use of our algorithm, we introduce the problem of building a spanning tree of the graph. More precisely, we present an algorithm for an agent that will construct a rooted spanning tree. This spanning tree will be constructed by altering the local orientations: in any non-root vertex the edge with local label 1 will lead to the parent of this vertex in the spanning tree. Our algorithm only needs to use one pebble and O(log N) memory in the agent that performs the computation.
منابع مشابه
Local Field Correction Effect on Dicluster Stopping Power in a Strongly Coupled Two-Dimensional Electron Gas System
We calculate the stopping power for heavy-ion diclusters moving in a strongly coupled two-dimensional electron gas system by using the local field corrected dielectric function at finite temperature. We obtain a parameterized local field correction factor based on a relation between the thermal compressibility and exchange-correlation energy in two-dimension. The interpolated parameter is deriv...
متن کاملCultural Orientations of Iranian English Translation Students: Do Gender and Translation Quality Matter?
The present exploratory study aimed to construct and apply a localized questionnaireto investigate the cultural orientations of Iranian English translation students. It alsoexamined the relationship between cultural orientations of Iranian Englishtranslation students, their gender, and translation quality. This mixed-methods study,in the first phase, used focus group interviews to form a pool o...
متن کاملDeveloping a Local Model of Leadership Based on Soft Power in Iran Sport Federations
The aim of this study was to develop a local model of leadership based on soft power in Iran sport federations. This study had a qualitative approach and the method of grounded theory was used as the research methodology. The data were collected by library resources, field observation, audio media and in-depth and open interviews with 23 elite experts. The validity of this study was investigate...
متن کاملA Local Power Control Scheme for Electronically Interfaced Distributed Generators in Islanded Microgrids
The conventional real power-frequency and reactive power-voltage droop characteristics are commonly employed to share the electric power among parallel distributed generation (DG) units. Despite some advantages such as easy implementation and no need for communication infrastructure, inaccurate reactive power sharing is one of the main disadvantages of conventional droop control. This paper pre...
متن کاملThe Causes of Local Hardness Increasing in Powerplant Rotors and its Modification by Tempering (TECHNICAL NOTE)
Local hardness increasing on the surface of the power plant rotor may result in severe damages. One major solution for rapid repairing of the rotors is the adaptive tempering heat treatment. For this purpose, after identification of the damaged rotor, initial investigations and tests (such as visual inspection, chemical analysis, nondestructive hardness measurements and replica or on-site metal...
متن کاملDesign and construction of evaporative local cooling coatings and evaluate their efficiency in improving some perceptual indicators in laboratory conditions
Introduction: One way to reduce the level of heat strain is to use personal evaporative cooling coats. such as the wrist, ankle, head and neck. The purpose of this study is to design, construct, and determine the cooling power of local cooling coatings and evaluate their efficiency in improving perceptual indicators in the laboratory. Materials and Methods: Initially, the design and constructio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008